import Cookies from 'js-cookie'

const user='user'

function get() {
    return Cookies.get(user)
}

function set(u,expire=7){
    Cookies.set(user,u,{expires:expire,path:'/'})
}

function remove(){
    Cookies.remove(user);
}

export {get,set,remove}

